<template>
  <div class="error-container">
    <div class="err-tips">
      <span>暂无权限...</span>
      <i @click="$router.push('/')">返回首页</i>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  created() {},
  mounted() {
    //   setTimeout(()=>{
    //       this.$router.push('login')
    //   },6000)
  },
  methods: {}
};
</script>

<style scoped lang="scss">
.error-container {
  height: 100%;
  background: url("../../assets/lgh.jpg") no-repeat;
  background-size: 100% 100%;
  .err-tips {
    width: 100%;
    height: 100%;

    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-top: 30vh;
    span {
      font-size: 30px;
      color: #fff;
    }
    i {
      margin-left: 20px;
      font-size: 14px;
      color: #fff;
      padding: 1px 6px;
      border-bottom: 1px solid #ccc;
    }
  }
}
</style>
